package oop2;

import oop1.School;

/**
 * @author oldliu
 * @since 1.0
 */
public class ClacTest1 {
    public static void main(String[] args) {
        int n=8;
        Calc c=new Calc();
        System.out.println("调用前，n="+n);
        c.inc1(n);
        System.out.println("调用后，n="+n);
        System.out.println("------------------------------");
        School s=new School();
        s.name="北大青鸟北京航天桥中心";
        s.labs=10;
        s.rooms=3;
        s.show();
        c.inc2(s);
        System.out.println("调用后：");
        s.show();
        System.out.println("----------inc4---------------");
        c.inc4(s);
        System.out.println("调用后：");
        s.show();
    }
}
